<?php

class Application_Form_Editor extends Zend_Form
{

    public function init()
    {
        $this->setMethod('post');

        $this->addElement('text', 'title', array(
                    'label'      => 'Title:',
                    'required'   => true
        ));

        $this->addElement('textarea', 'content', array(
                    'label'     => 'Content:',
                    'required'  => true
        ));

        $this->addElement('submit', 'submit', array(
                    'ignore'    => true,
                    'label'     => 'Post it!'
        ));
    }


}

